/**
 * Copyright 2011 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.

 *
 * @author jasonstredwick@google.com (Jason Stredwick)
 */


#layer-add-url {
  background: rgba(102, 102, 102, 0.5);
  padding: 0px;

  position: fixed;
  left: 0px;
  top: 0px;

  width: 100%;
  height: 100%;
  z-index: 50002;
}

#layer-add-url-vertical-aligner {
  height: 50%;
  margin-top: -77px; /* Value = 0.5 * layer-dialog-window.height */
}

/**
 * Turn off the console's ability to resize.  The height is necessary to
 * center the console vertically over the browser canvas.
 */
#layer-add-url-popup.layer-console {
  left: auto;
  top: auto;

  min-width: 0px;
  min-height: 0px;
  height: 150px; /* 154px with borders. */

  position: relative;
  width: 500px;
  margin: auto;

  resize: none;
}

/**
 * The estimate of 52px height is based on the expected height remainder left
 * over from the total console height after subtracting the title and footer
 * elements height + their padding/margins.  The height value is necessary to
 * center the entire console vertically over the browser canvas.
 */
#layer-add-url-popup .layer-console-body {
  height: 52px;
}

/**
 * Reduce the width of the input label as the text is short.
 */
#layer-add-url-popup .layer-console-input-label {
  width: 150px;
}
